﻿using LJ.Abstractions.Pack.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.Abstractions.Pack;

public interface IPack
{
    /// <summary>
    /// 加载服务
    /// </summary>
    /// <param name="packContext"></param>
    void Add(IPackContext packContext);
    /// <summary>
    /// 启动服务
    /// </summary>
    /// <param name="packProvider"></param>
    /// <returns></returns>
    void Use(IPackProvider packProvider);
}
